function FormHead(req) {

	AbstractRequest.call(this, req);
	
	var boundary = this.getHeader("Content-Type").getValue().split("boundary=")[1];
		
	this.getBounds = function() {
		return [TITTValues.MULTIPART_SEPERATOR + boundary, TITTValues.MULTIPART_SEPERATOR + boundary + TITTValues.MULTIPART_SEPERATOR];
	}
	
	this.getBoundary = function() {
		return boundary;
	}
	
	this.getContentLength = function() {
		return parseInt(this.getHeader("Content-Length").getValue());
	}

	this.containsContentLength = function() {
		return this.getHeader("Content-Length") != null;
	}

}

function FormHeadInit(contentLength, boundary, h) {
	FormHead.call(this, new RequestHead(new ContentHeadInit(contentLength, "multipart/form-data;boundary="+boundary, h)));	
}